package com.mdn.steelcase.model;

import java.io.Serializable;

import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;
import com.googlecode.objectify.annotation.Index;

@Entity
public class DocumentEntity implements Serializable{

	private static final long serialVersionUID = -2450096992023108652L;

	@Id
	protected Long id;
	@Index private String name;
	private String content;

	public DocumentEntity() {
		super();
	}

	public DocumentEntity(String name, String content) {
		this.name = name;
		this.content = content;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
}
